-
Home
-
ShortPixel Image Optimizer – Optimize Images, Convert WebP & AVIF
-
6.0.4 (latest)
-
Code
-
Classes
- PNGConverter
Total Complexity |
63 |
Dependencies |
4 |
Dependents |
0 |
Total lines |
458 |
Lines of code |
290 |
Logical lines of code |
185 |
Comment lines |
49 |
Methods |
12 |
Properties |
8 |
Methods 12
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
run() |
B |
37 |
14 |
76 |
convert() |
A |
41 |
10 |
58 |
isTransparent() |
A |
47 |
9 |
31 |
getPNGImage() |
S |
50 |
6 |
34 |
isConvertable() |
S |
56 |
6 |
20 |
checkFileSizeMargin() |
S |
56 |
6 |
19 |
__construct() |
S |
59 |
4 |
13 |
restore() |
S |
55 |
2 |
20 |
hasTried() |
S |
70 |
2 |
7 |
raiseMemoryLimit() |
S |
74 |
2 |
5 |
filterQueue() |
S |
77 |
1 |
4 |
getCheckSum() |
S |
80 |
1 |
3 |